package com.acme.bankapp.service.bank;

import com.acme.bankapp.domian.bank.*;

public class BankApplication {
    public static void main(String [] args){
        Client client1 = BankService.createNewClient(500.0, Gender.Male, "Nikolay");
        Client client2 = BankService.createNewClientWithCheckingAccount(300.0, 100.0, Gender.Female, "Tatyana");
        client1.setName("Smirnova");
        client1.setGender(Gender.Female);
        Bank myBank = new Bank();

        BankService.addClient(myBank,client1);
        BankService.addClient(myBank,client2);

        BankService.printBalance(myBank);
        BankService.printMaximumAmountToWithdraw(myBank);
    }
}
